package com.hzw.saas.service.storage.model;

import com.hzw.saas.common.config.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 07/01/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Resource extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 存储空间ID
     */
    protected String spaceId;

    /**
     * 上级目录ID
     */
    protected String supId;

    /**
     * 资源名称
     */
    protected String name;

    /**
     * 资源状态
     * 200-正常，300-回收，301-关联回收，400-删除
     *
     * @see com.hzw.saas.api.storage.enums.ResourceStatusEnum
     */
    protected Integer status;

}
